﻿using System;
using System.Collections.Generic;
using UnityEngine;

// Token: 0x02000053 RID: 83
public class DynamicBone_ColliderSetup : MonoBehaviour
{
	// Token: 0x060002B8 RID: 696 RVA: 0x0000EB90 File Offset: 0x0000CD90
	private void Awake()
	{
		this.dynamicBones = this.dynamicBoneRoot.GetComponentsInChildren<DynamicBone>();
		this.dynamicBoneColliders = this.colliderRoot.GetComponentsInChildren<DynamicBoneCollider>();
		foreach (DynamicBone dynamicBone in this.dynamicBones)
		{
			dynamicBone.m_Colliders = new List<DynamicBoneCollider>(this.dynamicBoneColliders);
		}
	}

	// Token: 0x04000220 RID: 544
	public Transform dynamicBoneRoot;

	// Token: 0x04000221 RID: 545
	public Transform colliderRoot;

	// Token: 0x04000222 RID: 546
	private DynamicBone[] dynamicBones;

	// Token: 0x04000223 RID: 547
	private DynamicBoneCollider[] dynamicBoneColliders;
}
